import request from '@/utils/request'
const api_login_name = '/edu/center/member'
export default {
  //登录
  submitLoginUser(loginVo) {
    return request({
      url: `${api_login_name}/login`,
      method: 'post',
      data: loginVo
    })
  },
  //根据token获取用户信息
  getLoginUserInfo(){
    return request({
      url: `${api_login_name}/auth/getLoginInfo`,
      method: 'get'
    })
  }
}